home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zgetrs.z / zgetrs
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZGGGGEEEETTTTRRRRSSSS((((3333SSSS))))                                                          ZZZZGGGGEEEETTTTRRRRSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZGETRS - solve a system of linear equations A * X = B, A**T * X = B, or
  10.      A**H * X = B with a general N-by-N matrix A using the LU factorization
  11.      computed by ZGETRF
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE ZGETRS( TRANS, N, NRHS, A, LDA, IPIV, B, LDB, INFO )
  15.  
  16.          CHARACTER      TRANS
  17.  
  18.          INTEGER        INFO, LDA, LDB, N, NRHS
  19.  
  20.          INTEGER        IPIV( * )
  21.  
  22.          COMPLEX*16     A( LDA, * ), B( LDB, * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      ZGETRS solves a system of linear equations A * X = B, A**T * X = B, or
  39.      A**H * X = B with a general N-by-N matrix A using the LU factorization
  40.      computed by ZGETRF.
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      TRANS   (input) CHARACTER*1
  44.              Specifies the form of the system of equations:
  45.              = 'N':  A * X = B     (No transpose)
  46.              = 'T':  A**T * X = B  (Transpose)
  47.              = 'C':  A**H * X = B  (Conjugate transpose)
  48.  
  49.      N       (input) INTEGER
  50.              The order of the matrix A.  N >= 0.
  51.  
  52.      NRHS    (input) INTEGER
  53.              The number of right hand sides, i.e., the number of columns of
  54.              the matrix B.  NRHS >= 0.
  55.  
  56.      A       (input) COMPLEX*16 array, dimension (LDA,N)
  57.              The factors L and U from the factorization A = P*L*U as computed
  58.              by ZGETRF.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZGGGGEEEETTTTRRRRSSSS((((3333SSSS))))                                                          ZZZZGGGGEEEETTTTRRRRSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      LDA     (input) INTEGER
  75.              The leading dimension of the array A.  LDA >= max(1,N).
  76.  
  77.      IPIV    (input) INTEGER array, dimension (N)
  78.              The pivot indices from ZGETRF; for 1<=i<=N, row i of the matrix
  79.              was interchanged with row IPIV(i).
  80.  
  81.      B       (input/output) COMPLEX*16 array, dimension (LDB,NRHS)
  82.              On entry, the right hand side matrix B.  On exit, the solution
  83.              matrix X.
  84.  
  85.      LDB     (input) INTEGER
  86.              The leading dimension of the array B.  LDB >= max(1,N).
  87.  
  88.      INFO    (output) INTEGER
  89.              = 0:  successful exit
  90.              < 0:  if INFO = -i, the i-th argument had an illegal value
  91.  
  92. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  93.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  94.  
  95.      This man page is available only online.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.